package 
{
	
	
	import flash.display.MovieClip;
	import flash.display.Sprite;
	import flash.events.Event;
	import fwk.display.particules.Particule;
	import fwk.display.particules.ParticuleAnim;
	
	
	public class testParticule extends MovieClip
	{
		private var _tabParticules:Array;
		
			
		
		public function testParticule():void
		{
			var clip:MovieClip = new mcMiniLoaderAnim() as MovieClip;
			_tabParticules = new Array();
			
			for (var i:int = 0; i < 400; i++) 
			{
				var particule:ParticuleAnim = new ParticuleAnim(stage, clip, 60, 100, 100);
				
				particule.x = stage.stageWidth * Math.random();
				particule.y = stage.stageHeight * Math.random();
				
				particule.play(  int (Math.random()*60)  );
				
				addChild(particule);
				_tabParticules.push(particule);
			}
			

			
		}
		

		
		
		
	}
		
	

}